import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const store = new Vuex.Store({
	state:{
		showCount:0,
		toRouter:''
	},
	
	mutations:{
		M_changeCount(state,num){
			state.showCount = num
		},
		M_addToRouter(state,url){
			state.toRouter = url
		}
	}
})

export default store